package com.zy.service.bs;

import com.zy.entity.bs.Balance;
import com.zy.pojo.query.bs.BalanceQuery;
import com.zy.pojo.vos.common.PageVo;
import com.zy.service.base.BaseService;

public interface BalanceService extends BaseService<Balance> {

	/**
	 * 分页
	 * 
	 * @param balance
	 * @param start
	 * @param limit
	 * @return
	 */
	PageVo pageBalance(BalanceQuery balanceQuery, Integer start, Integer limit);

	/**
	 * 新增
	 * 
	 * @param balance
	 */
	void saveBalance(Balance balance);
	
	/**
	 * 更新
	 *
	 * @param balance
	 */
	void updateBalance(Balance balance);

	/**
	 * 删除
	 * 
	 * @param id
	 */
	void removeBalance(long id);

	/**
	 * 恢复
	 * 
	 * @param id
	 */
	void recover(long id);

}
